/*
 * @Author: xiaoyan
 * @Date: 2021-11-23 10:31:31
 * @LastEditors: xiaoyan
 * @LastEditTime: 2021-12-09 16:17:44
 * @Description: 
 * @FilePath: \user_auth_front\src\constant\index.ts
 */
import { UserOutlined,MenuOutlined, AppstoreOutlined, RobotOutlined,ApartmentOutlined,HomeOutlined } from '@ant-design/icons';

//菜单
export const menus =  [
    {path:"/home",title:"首页",icon:HomeOutlined,isMenu:false},
    {path:"/organization",title:"机构",icon:ApartmentOutlined,isMenu:true},
    {path:"/user",title:"用户",icon:UserOutlined,isMenu:true},
    {path:"/role",title:"角色",icon:RobotOutlined,isMenu:true},
    {path:"/application",title:"应用",icon:AppstoreOutlined,isMenu:true},
    {path:"/menu",title:"菜单",icon:MenuOutlined,isMenu:true},
];
//modal弹窗
export const modalConf = {
    title:"窗口",//默认标题
    views:null,//视图
    isModalVisible:false,//是否显示
    isCustom:true,//是否自定义footer
    handleOk:null,//确定事件
    handleBack:null,//关闭回调
    handleCancel:null,//取消回调
    width:800,//宽度
    data:null,//数据
};

//cookieKey
export const cookieKey = {
    token:"token"
};